﻿@model BBICMS.Model.ViewModel.Front.ArticleDetailsVM

@{
    ViewBag.Title = Model.Post.Title + "-" + Title.News;
}
@section header{
    <meta name="keywords" content="@Model.Post.Keywords" />
    <meta name="description" content="@Model.Post.Summary" />    
}



@section featured{
    <div class="sitepath">
        <div class="container">
        
            <ol class="breadcrumb">
                <li><a href="/">@Menu.Home</a></li>
                <li>&gt;</li>
                <li><a href="@Url.Action("Index")">@Menu.News</a></li>
                <li>&gt;</li>
                <li class="active">@Model.Post.Title</li>
            </ol>
        </div>
      
    </div>
}


    <!-- BLOG   ================================================== -->
    <section class="container page-news">
        <div class="row">
            <div class="col-md-10 col-md-offset-1 animated fadeInLeft">
                <div class="article">
                    <h2 class="title">@Model.Post.Title</h2>

                    <div class="note">
                        <ul>
                            <li>
                                By @Model.Post.Author
                            </li>
                            <li>
                                @string.Format("{0:D}", Model.Post.Pubdate)
                            </li>
                        </ul>
                    </div>
                    <div class="content">
                        @Html.Raw(Model.Post.Body)
                    </div>


                </div>
                <div class="nav-page">
                    <div class="col-xs-6 prev">
                        @if (ViewBag.Prev != null)
            {
                <a href="@Url.Action("Detail", new { id=ViewBag.Prev})">Previous</a>
}

                    </div>
                    <div class="col-xs-6 next">
                        @if (ViewBag.Next != null)
            {
                <a href="@Url.Action("Detail", new { id=ViewBag.Next})">Next</a>
}

                    </div>
                    <div class="back">
                        <a href="@Url.Action("Index")"><i class="iconfont icon-remove"></i></a>
                    </div>
                </div>
            </div>


         
        </div>
      
    </section>



@section scripts{      
    <script>                
        $(function () {
            //当前菜单
            $(".menu>ul>li:nth-of-type(5) a").addClass("active");
       })
    </script>
}